package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.qbdms.model.WQbdFlightJcjlcf;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * ClassDescribe:
 *
 * @author :milihao
 */
@Mapper
public interface WQbdFlightJcjlcfDao extends IBaseMapper<WQbdFlightJcjlcf, String> {

	/**
	 * 根据外键获取奖惩记录
	 *
	 * @param id 外键
	 * @param isReward 是否奖励
	 * @return List<WQbdFlightJcjlcf>
	 */
	List<WQbdFlightJcjlcf> getListByRefId(@Param("id") String id,
			@Param("isReward") String isReward);


	void delByRefId(@Param("refid") String refid,
			@Param("isReward") String isReward);
}
